package com.bosssoft.login.entity.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;


import javax.validation.constraints.NotNull;


@Data

@AllArgsConstructor
@NoArgsConstructor
@ToString
public class UserVO {
    // 用户名
    @NotNull
    @Length(min=4, max=6)
    private String username;
    // 密码
    @NotNull
    @Length(min=6, max=12)
    private String password;
    private Long phone;
    private int uid;
}
